<?php

namespace app\index\model;

use think\Model;
// use app\index\model\UserRole;
class User extends Model
{
    //
	public function roles(){
		return $this->belongsToMany('roles','app\index\model\UserRole','userId');
	}
}
